Availability | 3.0 | ||||||||
Description | Resizes the currently selected layer or hotspot. | ||||||||
Arguments | left, top, bottom, right |
||||||||
|
|||||||||
Returns | Nothing. | ||||||||
Enabler | None. | ||||||||
Example | If the selected layer has the Left, Top, Width, and Height properties shown, calling dw.getDocumentDOM().resizeSelectionBy(-10,-30,30,10) would be equivalent to resetting Left to 40, Top to 20, Width to 240, and Height to 240.
![]() |
||||||||
![]() |